package com.junjiao.util.spring.aop;

public class People implements Listener {
    private Singer singer;
    @Override
    public void getMoney(Throwable ex) {
       System.out.println(singer.getName() + "!唱的不行,退钱!");
       System.out.println(ex.getMessage()); 
    }
    @Override
    public void guzhang() {
       System.out.println("为 " + singer.getName() + "鼓掌!");
    }
    @Override
    public void offPhone() {
       System.out.println("这是" + singer.getName() + "的演唱会,我先关手机!");
    }
    @Override
    public void takeSeat() {
       System.out.println("这是" + singer.getName() + "的演唱会,我正在找座位!");
    }
    @Override
    public void setSinger(Singer singer) {
       this.singer = singer;
    }

}
